home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PResize.cpp < prev    next >
C/C++ Source or Header  |  1996-10-15  |  862b  |  37 lines

  1. /*
  2.  *--- PResize.cpp ---------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PResize.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PResize.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 14;
  16.  
  17. PResize::PResize
  18.   (    short    cHandle,
  19.     long    xLocation,
  20.     long    yLocation,
  21.     PMBool    bProp = false,
  22.     PMBool    bBestSize = false )
  23. {
  24.     char * temp[REQUEST_SIZE];
  25.     PRequestBuf request(temp);
  26.  
  27.     request << cHandle
  28.             << xLocation
  29.             << yLocation
  30.             << bProp
  31.             << bBestSize;
  32.             
  33.     PCommand command(pm_resize, request);
  34. }
  35.  
  36. // end of PResize.cpp
  37.